<h1>Introducing The Model Class</h1>
<p>Trongate comes with a fully featured PHP class for assisting with database interaction. The class is named 'Model' and is stored in a file named <strong>Model.php</strong>, inside the engine directory.</p>

<p>The Model class contains the following methods:</p>

<h3>For Data Retrieval:</h3>
<ul>
    <li><span class="feature-ref">get()</span></li>
    <li><span class="feature-ref">get_where()</span></li>
    <li><span class="feature-ref">get_where_custom()</span></li>
    <li><span class="feature-ref">get_one_where()</span></li>
    <li><span class="feature-ref">get_many_where()</span></li>
    <li><span class="feature-ref">get_where_in()</span></li>
    <li><span class="feature-ref">get_max()</span></li>
</ul>

<h3>For Data Manipulation:</h3>
<ul>
    <li><span class="feature-ref">insert()</span></li>
    <li><span class="feature-ref">update()</span></li>
    <li><span class="feature-ref">update_where()</span></li>
    <li><span class="feature-ref">delete()</span></li>
    <li><span class="feature-ref">insert_batch()</span></li>
</ul>

<h3>For Data Analysis and Management:</h3>
<ul>
    <li><span class="feature-ref">count()</span></li>
    <li><span class="feature-ref">count_where()</span></li>
    <li><span class="feature-ref">count_rows()</span></li>
    <li><span class="feature-ref">describe_table()</span></li>
    <li><span class="feature-ref">table_exists()</span></li>
    <li><span class="feature-ref">get_all_tables()</span></li>
    <li><span class="feature-ref">resequence_ids()</span></li>
</ul>

<h3>For Custom Database Querying:</h3>
<ul>
    <li><span class="feature-ref">query()</span></li>
    <li><span class="feature-ref" ref-path="class_reference/The_Model_Class">query_bind()</span></li>
</ul>

<p>The following pages will provide information on how to perform database operations using Trongate's Model class.</p>